<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
首页 ${session.web_user.userName} <a href="${base}/user/logout">退出系统</a>
<div>
    <h4>权限测试(权限2应该不会显示)</h4>
    <ul>
        <%if(so.hasPermission("sysDataTable.manager")){%>
        <li>权限1</li>
        <%}%>
        <%if(so.hasPermission("xxxx")){%>
        <li>权限2</li>
        <%}%>
        <li>权限3</li>
        <li>权限4</li>
    </ul>
</div>
</body>
</html>